package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class OldDTest {
    public static void main(String[] args) {
        OldDriver driver=new OldDriver("老吴");
        Car c=new Car("法拉利","红");
        Bus b=new Bus("118","曙光电影院","大蜀山");
        Taxi t=new Taxi("新亚出租车公司","皖A494943");
        driver.drive(c);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        driver.drive(b);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        driver.drive(t);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
    }
}
